package com.spx.chapter05.pojo;

import java.sql.Timestamp;

/**
 * create by undeRdoG on  2022-04-29  14:21
 * 凡心所向，素履以往，生如逆旅，一苇以航。
 */
public class Event {

    public String user;

    public String url;

    public Long timestamp;


    public Event() {
    }

    public Event(String user, String url, Long timestamp) {
        this.user = user;
        this.url = url;
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        return "Event{" +
                "user='" + user + '\'' +
                ", url='" + url + '\'' +
                ", timestamp=" + new Timestamp(timestamp) +
                '}';
    }
}
